﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CMU.Manage
{
    public partial class MainWindow : Form
    {
        public MainWindow()
        {
            InitializeComponent();
        }

        private void button5_Click_1(object sender, EventArgs e)
        {
            splitContainer1.Panel2.Controls.Clear();
            UCGiaoVien frm1 = new UCGiaoVien();
            frm1.Dock = System.Windows.Forms.DockStyle.Fill;
            splitContainer1.Panel2.Controls.Add(frm1);
        }

        private void button7_Click(object sender, EventArgs e)
        {
            splitContainer1.Panel2.Controls.Clear();
            UCSinhVien frm1 = new UCSinhVien();
            frm1.Dock = System.Windows.Forms.DockStyle.Fill;
            splitContainer1.Panel2.Controls.Add(frm1);
        }

        private void button8_Click_1(object sender, EventArgs e)
        {
            splitContainer1.Panel2.Controls.Clear();
            UCThoiGian frm1 = new UCThoiGian();
            frm1.Dock = System.Windows.Forms.DockStyle.Fill;
            splitContainer1.Panel2.Controls.Add(frm1);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            splitContainer1.Panel2.Controls.Clear();
            UCChungChi frm1 = new UCChungChi();
            frm1.Dock = System.Windows.Forms.DockStyle.Fill;
            splitContainer1.Panel2.Controls.Add(frm1);
        }

        private void button3_Click(object sender, EventArgs e)
        {
            splitContainer1.Panel2.Controls.Clear();
            UCKhoaHoc frm1 = new UCKhoaHoc();
            frm1.Dock = System.Windows.Forms.DockStyle.Fill;
            splitContainer1.Panel2.Controls.Add(frm1);
        }

        private void button4_Click(object sender, EventArgs e)
        {
            splitContainer1.Panel2.Controls.Clear();
            UCMonHoc frm1 = new UCMonHoc();
            frm1.Dock = System.Windows.Forms.DockStyle.Fill;
            splitContainer1.Panel2.Controls.Add(frm1);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            splitContainer1.Panel2.Controls.Clear();
            UCLopHoc frm1 = new UCLopHoc();
            frm1.Dock = System.Windows.Forms.DockStyle.Fill;
            splitContainer1.Panel2.Controls.Add(frm1);
        }

    
     

      

    


    

   

      
    }
}
